<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Maven DeltaCoverage Plugin - deltacoverage:deltacoverage</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            Maven DeltaCoverage Plugin
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2012-04-04
                      </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Overview</h5>
            <ul>
              
    <li class="none">
                    <a href="index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="plugin-info.html">Goals</a>
          </li>
              
    <li class="none">
                    <a href="usage.html">Usage</a>
          </li>
              
    <li class="none">
                    <a href="faq.html">FAQ</a>
          </li>
          </ul>
              <h5>Examples</h5>
            <ul>
              
    <li class="none">
                    <a href="examples/example-one.html">Delta Coverage for current release</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-reports.html">Project Reports</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2><a name="deltacoverage:deltacoverage"></a>deltacoverage:deltacoverage</h2>
<p><strong>Full name</strong>:</p>
<p>org.apache.maven.plugins:maven-deltacoverage-plugin:1.0-SNAPSHOT:deltacoverage</p>
<p><strong>Description</strong>:</p>
<div>Mojo to generate delta coverage report. Entry point for maven
plugin. Delta coverage is calculated by taking into consideration
current code coverage and code changed since a specific baseline
version. Hence needs parameters <code>coverageReport</code> and
<code>baselineVersion</code>.</div><p><strong>Attributes</strong>:</p>
<ul><li>Requires a Maven 2.0 project to be executed.</li>
</ul>
<div class="section"><h3><a name="Optional_Parameters"></a>Optional Parameters</h3>
<table class="bodyTable"><tr class="a"><th>Name</th>
<th>Type</th>
<th>Since</th>
<th>Description</th>
</tr>
<tr class="b"><td><strong><a href="#baselineVersion">baselineVersion</a></strong></td>
<td><code>String</code></td>
<td><code>-</code></td>
<td>CVS branch/tag name to be used as baseline for delta calculation.<br />
</td>
</tr>
<tr class="a"><td><strong><a href="#coverageReport">coverageReport</a></strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>Path of coverage report xml.<br />
<strong>Default value is</strong>: <code>${project.reporting.outputDirectory}/cobertura/coverage.xml</code>.</td>
</tr>
<tr class="b"><td><strong><a href="#reportDir">reportDir</a></strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>Location where output report should be generated.<br />
<strong>Default value is</strong>: <code>${project.build.directory}</code>.</td>
</tr>
<tr class="a"><td><strong><a href="#scm">scm</a></strong></td>
<td><code>String</code></td>
<td><code>-</code></td>
<td>The SCM repository to use. Currently supported - CVS (default).<br />
<strong>Default value is</strong>: <code>CVS</code>.</td>
</tr>
<tr class="b"><td><strong><a href="#sourceDir">sourceDir</a></strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>Location where source code resides<br />
<strong>Default value is</strong>: <code>${project.build.sourceDirectory}</code>.</td>
</tr>
</table>
</div>
<div class="section"><h3><a name="Parameter_Details"></a>Parameter Details</h3>
<p><strong><a name="baselineVersion">baselineVersion</a>:</strong></p>
<div>CVS branch/tag name to be used as baseline for delta calculation.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Expression</strong>: <code>${delta.baseline}</code></li>
</ul>
<hr />
<p><strong><a name="coverageReport">coverageReport</a>:</strong></p>
<div>Path of coverage report xml.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Expression</strong>: <code>${delta.coverage.reportPath}</code></li>
<li><strong>Default</strong>: <code>${project.reporting.outputDirectory}/cobertura/coverage.xml</code></li>
</ul>
<hr />
<p><strong><a name="reportDir">reportDir</a>:</strong></p>
<div>Location where output report should be generated.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Expression</strong>: <code>${delta.reportDir}</code></li>
<li><strong>Default</strong>: <code>${project.build.directory}</code></li>
</ul>
<hr />
<p><strong><a name="scm">scm</a>:</strong></p>
<div>The SCM repository to use. Currently supported - CVS (default).</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Expression</strong>: <code>${delta.scm}</code></li>
<li><strong>Default</strong>: <code>CVS</code></li>
</ul>
<hr />
<p><strong><a name="sourceDir">sourceDir</a>:</strong></p>
<div>Location where source code resides</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Default</strong>: <code>${project.build.sourceDirectory}</code></li>
</ul>
</div>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2012
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
